<header class="main-header">
	<a href="" class='logo'>{{config('app.name', 'Laravel')}}</a>
    <nav class="navbar navbar-static-top" role="navigation">
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">{{ __('Toggle navigation') }}</span>
        </a>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
			    <!--<li class="hidden-xs"><a href="#" data-toggle="fullscreen"><i class="fa fa-arrows-alt"></i></a></li>-->
				<!--头像-->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="{{auth()->user()->avatar}}" class="user-image" alt="{{__('User Avatar')}}" onerror="onerror=null;src='{{ asset('assets/img/user2-160x160.jpg') }}'"/>
                        <span class="hidden-xs">{{auth()->user()->nickname}}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="user-header">
                            <img src="{{auth()->user()->avatar}}" class="img-circle" alt="{{__('User Avatar')}}" onerror="onerror=null;src='{{ asset('assets/img/user2-160x160.jpg') }}'"/>
                            <p>
                                {{auth()->user()->nickname}} 
                                <small>
								  {{ __('Member since') }}
								  {{-- access()->user()->created_at->format("Y-m-d") --}}
								</small>
                            </p>
                        </li>						
                        <li class="user-body">
                            <div class="col-xs-4 text-center">
                                {{-- link_to('#', 'Link') --}}
                            </div>
                            <div class="col-xs-4 text-center">
                                {{-- link_to('#', 'Link') --}}
                            </div>
                            <div class="col-xs-4 text-center">
                                {{-- link_to('#', 'Link') --}}
                            </div>
                        </li>
						
                        <li class="user-footer">
                            <div class="pull-left">
								<a href="#" class="btn btn-default btn-flat">{{ __('Profile') }}</a>                                
                            </div>
                            <div class="pull-right">
								<a href="{{ route('logout') }}" class="btn btn-default btn-flat">{{ __('Sign out') }}</a> 
                            </div>
                        </li>
                    </ul>
                </li>				
				<!--个性化设置后台风格等-->
				<li>
					<a href="javascript:;" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
				</li>				
            </ul>
        </div><!-- /.navbar-custom-menu -->
    </nav>
</header>